package com.mdl.mall.mapper;

import com.mdl.mall.entity.TCustomerInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Desc
 * @Author madengling
 * @Time 2020/10/16 13:25
 */
@Repository
@Mapper
public interface TCustomerInfoMapper {
    List<TCustomerInfo> getTCustomer();

    void addTCustomer(TCustomerInfo tCustomerInfo);

    int checkQrIsNull(Integer qrCode);

    TCustomerInfo getTCustomerById(Integer id);
}
